package com.lagou.rpc.consumer.server;

import com.lagou.rpc.api.IUserService;
import com.lagou.rpc.consumer.proxy.RpcClientProxy;
import org.springframework.stereotype.Service;

/**
 * @author huangshuxian
 * @date 2022/5/6 1:01 下午
 * @description
 */
@Service
public class UserServer {

    public IUserService getUserService(){
        return (IUserService) RpcClientProxy.createProxy(IUserService.class);
    }
}
